package com.itheima.demo2;

public class JieKou {
}
interface Qiang{
    //规则1
    void qj();
}
interface Xi{
    //规则2
    void xd();
}
interface FanmilyRule{
    //规则3
    void dj();
}
//接口多继承
interface  SchoolRule extends Qiang,Xi{
    void cd();
}

//接口多实现
class Student implements SchoolRule,FanmilyRule{

    @Override
    public void qj() {

    }

    @Override
    public void xd() {

    }

    @Override
    public void cd() {

    }

    @Override
    public void dj() {

    }
}